var a = 1213432;
var b = 'sdhw';
var c = 'sdfe';
var d = [1, 2, 4, 6];
var e = ['sd', 'v', 'd'];
var f = [1, '2', true];
var h = null;
// 枚举（enum）
// 字符串枚举
var Person;
(function (Person) {
    Person["li"] = "\u674E";
    Person["liu"] = "\u5218";
    Person["cui"] = "\u5D14";
})(Person || (Person = {}));
var li = Person.li;
//数字枚举
var Num;
(function (Num) {
    Num[Num["a"] = 0] = "a";
    Num[Num["b"] = 12] = "b";
    Num[Num["c"] = 13] = "c";
})(Num || (Num = {}));
var Num1 = Num.a;
console.log(Num1);
var obj1 = {
    a: 1,
    b: 'shdu',
    c: true
};
var obj2 = {
    a: 12,
    b: '12',
    c: false,
    abs: function () {
        console.log('2222');
    }
};
var Arr = /** @class */ (function () {
    function Arr() {
    }
    Arr.prototype.abs = function () {
        console.log('111');
    };
    return Arr;
}());
function Fun(a, b) {
    return a + b;
}
Fun(2, 4);
// 类
var Chinese = /** @class */ (function () {
    // 构造函数
    function Chinese(a, b) {
        this.name = a;
        this.age = b;
    }
    Chinese.prototype.jump = function () {
        alert(this.name + "\u4ECA\u5E74" + this.age);
        console.log(this.name + '今年' + this.age + '岁');
    };
    return Chinese;
}());
// 实例化
var zs = new Chinese("张三", 18);
zs.jump();
// 数字型
var num = 123;
console.log(num.toLocaleString());
